﻿using System;
using DomainEventDemo.Extensions;
using DomainEventDemo.Plans.DomainEvents;

namespace DomainEventDemo.Plans
{
    public class Plan : ExtensionAggregateRoot<Guid>
    {
        private Plan()
        {

        }

        public Plan(string name)
        {
            Name = name;
            //AddLocalEvent(new PlanCustomDomainEvent(this));
        }

        public string Name { get; private set; }
    }
}
